package wsz.service;

import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;
import wsz.UserService;

/**
 * @author wsz
 * @date 2021/12/10 19:37
 **/
@Component
public class UserComponent {
    @Reference
    private UserService userService;

    public String sayHello(String msg) {
        return userService.sayHello(msg);
    }
}
